Optimal. Leaf size=52 \[ -\frac {4 a \left (a x^2+b x^3\right )^{5/2}}{35 b^2 x^5}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{7 b x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 2039}
\begin {gather*} \frac {2 \left (a x^2+b x^3\right )^{5/2}}{7 b x^4}-\frac {4 a \left (a x^2+b x^3\right )^{5/2}}{35 b^2 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2039
Rule 2041
Rubi steps
\begin {align*} \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x^2} \, dx &=\frac {2 \left (a x^2+b x^3\right )^{5/2}}{7 b x^4}-\frac {(2 a) \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x^3} \, dx}{7 b}\\ &=-\frac {4 a \left (a x^2+b x^3\right )^{5/2}}{35 b^2 x^5}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{7 b x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 31, normalized size = 0.60 \begin {gather*} \frac {2 \left (x^2 (a+b x)\right )^{5/2} (-2 a+5 b x)}{35 b^2 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 35, normalized size = 0.67
method | result | size |
gosper | \(-\frac {2 \left (b x +a \right ) \left (-5 b x +2 a \right ) \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}}}{35 b^{2} x^{3}}\) | \(35\) |
default | \(-\frac {2 \left (b x +a \right ) \left (-5 b x +2 a \right ) \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}}}{35 b^{2} x^{3}}\) | \(35\) |
risch | \(-\frac {2 \sqrt {x^{2} \left (b x +a \right )}\, \left (-5 b^{3} x^{3}-8 a \,b^{2} x^{2}-a^{2} b x +2 a^{3}\right )}{35 x \,b^{2}}\) | \(50\) |
trager | \(-\frac {2 \left (-5 b^{3} x^{3}-8 a \,b^{2} x^{2}-a^{2} b x +2 a^{3}\right ) \sqrt {b \,x^{3}+a \,x^{2}}}{35 b^{2} x}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 41, normalized size = 0.79 \begin {gather*} \frac {2 \, {\left (5 \, b^{3} x^{3} + 8 \, a b^{2} x^{2} + a^{2} b x - 2 \, a^{3}\right )} \sqrt {b x + a}}{35 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.10, size = 50, normalized size = 0.96 \begin {gather*} \frac {2 \, {\left (5 \, b^{3} x^{3} + 8 \, a b^{2} x^{2} + a^{2} b x - 2 \, a^{3}\right )} \sqrt {b x^{3} + a x^{2}}}{35 \, b^{2} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x\right )\right )^{\frac {3}{2}}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 136 vs.
\(2 (44) = 88\).
time = 1.34, size = 136, normalized size = 2.62 \begin {gather*} \frac {4 \, a^{\frac {7}{2}} \mathrm {sgn}\left (x\right )}{35 \, b^{2}} + \frac {2 \, {\left (\frac {35 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} a^{2} \mathrm {sgn}\left (x\right )}{b} + \frac {14 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} a \mathrm {sgn}\left (x\right )}{b} + \frac {3 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} \mathrm {sgn}\left (x\right )}{b}\right )}}{105 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.17, size = 36, normalized size = 0.69 \begin {gather*} -\frac {2\,\left (2\,a-5\,b\,x\right )\,\sqrt {b\,x^3+a\,x^2}\,{\left (a+b\,x\right )}^2}{35\,b^2\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________